﻿<Controls:SinacorWindow
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:Controls="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient;assembly=Sinacor.Infra.UI.Controls"
    xmlns:Validation="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient.Validation;assembly=Sinacor.Infra.UI.Controls"
    xmlns:Edit="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient.Edit;assembly=Sinacor.Infra.UI.Controls"
    x:Class="Sinacor.UI.Bovespa.Ordens.View.SmartClient.CadastramentoNegocio"
    Title="{DynamicResource Bovespa.Ordens.Label.CadastramentoNegocioDigitacao}"
    AutoContentWidth ="True"
    AutoContentHeight ="False"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" ModuleId="ORD" ModulePlus="False"
    WindowStartupLocation="CenterScreen" WindowState="Maximized">

    <!--Menu de Contexto-->
    <Controls:SinacorWindow.ContextMenu>
        <Controls:SinacorContextMenu Opened="SinacorContextMenu_Opened">
            <Controls:SinacorContextMenuItem Header="{DynamicResource Bovespa.Ordens.Label.NovaBuscaNegocio}" x:Name="btnNovaBusca" Click="btnNovaBusca_Click"/>
            <Controls:SinacorContextMenuItem Header="{DynamicResource Bovespa.Ordens.Label.NovoRegistroNegocio}" x:Name="btnNovoRegistro" Click="btnNovoRegistro_Click" />
            <Controls:SinacorContextMenuItem Header="{DynamicResource Bovespa.Ordens.Label.SalvarNegocio}" x:Name="btnSalvar" Click="btnSalvar_Click" />
            <Controls:SinacorContextMenuItem Header="{DynamicResource Bovespa.Ordens.Label.ExcluirNegocio}" x:Name="btnExcluirRegistro" Click="btnExcluirRegistro_Click" />
        </Controls:SinacorContextMenu>
    </Controls:SinacorWindow.ContextMenu>

    <Controls:SinacorExpanderContainer x:Name="CadastramentodeNegocio">

        <!--Definição de linhas no Container-->
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <!--Expander de Informações-->
        <Controls:SinacorExpander x:Name="sinacorExpander" Header="{DynamicResource Bovespa.Ordens.Label.Negocios}" Grid.Row ="0" IsExpanded="True" AllowExpand="False"   >
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>

                <DockPanel Width="Auto" Height="Auto" HorizontalAlignment="Left" VerticalAlignment="Top" >
                    <Grid Width="1000" Height="438" DockPanel.Dock="Top">
                        <Grid.RenderTransform>
                            <TransformGroup>
                                <ScaleTransform ScaleX="1" ScaleY="1"/>
                                <SkewTransform AngleX="0" AngleY="0"/>
                                <RotateTransform Angle="0"/>
                                <TranslateTransform X="0" Y="0"/>
                            </TransformGroup>
                        </Grid.RenderTransform>

                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                        </Grid.RowDefinitions>

                        <Controls:SinacorLabel x:Name="labelPrazoTermo" HorizontalAlignment="Left" Margin="706,148,0,0" Content="{DynamicResource Bovespa.Ordens.Label.PrazoTermo}"  VerticalAlignment="Top" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="152"/>
                        <Controls:SinacorLabel x:Name="labelVenctoOpcoes" HorizontalAlignment="Left" Margin="706,173,0,0" Content="{DynamicResource Bovespa.Ordens.Label.venctoOpcoes}"   VerticalAlignment="Top" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="152" />
                        <Controls:SinacorLabel x:Name="labelPapelObjeto" HorizontalAlignment="Left" Margin="706,198,0,0" Content="{DynamicResource Bovespa.Ordens.Label.papelObjeto}" Width="152" VerticalContentAlignment="Center" HorizontalContentAlignment="Right"  VerticalAlignment="Top"  />
                        <Controls:SinacorInt32TextBox x:Name="textPrazoTermo" HorizontalAlignment="Left" Margin="861,148,0,0" Width="50" Text="" Panel.ZIndex="0" TabIndex="20" VerticalAlignment="Top" IsFormated="False" Integers="5" AcceptsNegative="False" RequiredErrorMessage="Bovespa.Ordens.Message.PrazoTermoObrigatorio" />
                        <Controls:SinacorDatePicker x:Name="textVenctoOpcoes" HorizontalAlignment="Left"  Margin="861,173,0,0" Panel.ZIndex="0" TabIndex="21" VerticalAlignment="Top" RequiredErrorMessage="Bovespa.Ordens.Message.VencimentoTermoOpcoes"/>
                        <Controls:SinacorTextBox x:Name="textPapelObjeto" HorizontalAlignment="Left" Margin="861,198,0,0" Width="106" Text="" Panel.ZIndex="0" TabIndex="22" MaxLength="12" VerticalAlignment="Top"  RequiredErrorMessage="Bovespa.Ordens.Message.PapelObjetoObrigatorio" />
                        <Controls:SinacorLabel    x:Name="labelNNegocio"  Content="{DynamicResource Bovespa.Ordens.Label.numeroNegocio}"  Margin="712,25,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="145" IsTargetFieldRequired="True"/>
                        <Controls:SinacorLabel    x:Name="labelContraparte"  Content="{DynamicResource Bovespa.Ordens.Label.contraparte}"  Margin="712,50,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="145" IsTargetFieldRequired="True"/>
                        <Controls:SinacorInt32TextBox  x:Name="textNNegocio"  TextAlignment="Right" Text=""   Panel.ZIndex="0" TabIndex="7" Margin="861,25,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="80" IsFormated="True" Integers="9" AcceptsNegative="False"  RequiredErrorMessage="Bovespa.Ordens.Message.NumeroNegocioObrigatorio" />
                        <Controls:SinacorInt32TextBox x:Name="textContraparte" TextAlignment="Right"  Text=""    Panel.ZIndex="0" TabIndex="9" Margin="861,50,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="104" IsFormated="True" Integers="5" AcceptsNegative="False"  RequiredErrorMessage="Bovespa.Ordens.Message.ContraparteObrigatorio"/>
                        <Controls:SinacorInt32TextBox x:Name="textNNegocioDigito"  TextAlignment="Right" Text=""    Panel.ZIndex="0" TabIndex="8" Margin="945,25,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="20" IsFormated="False" Integers="1" AcceptsNegative="False"/>

                        <!--Group Box Informações-->
                        <Controls:SinacorGroupBox VerticalAlignment="Top" Header="{DynamicResource Bovespa.Ordens.Label.informacoes}" Width="581" Height="80" HorizontalAlignment="Left" >
                            <Grid Width="Auto" Height="Auto">
                                <Controls:SinacorLabel HorizontalAlignment="Left" Margin="0,0,0,0" x:Name="labelDataMovimento"  VerticalAlignment="Top" Width="89" Content="{DynamicResource Bovespa.Ordens.Label.dataMovimento}"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" />
                                <Controls:SinacorLabel HorizontalAlignment="Left" Margin="0,25,0,0" x:Name="labelDataPregao"  VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.DataPregao}"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="88.94"/>
                                <Controls:SinacorLabel Margin="191,0,0,0" x:Name="labelBolsaMovimento"  VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.bolsaMovimento}"  HorizontalAlignment="Left" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="121" IsTargetFieldRequired="True" d:LayoutOverrides="Height"/>
                                <Controls:SinacorLabel Margin="212,25,0,0" x:Name="labelHoraNegocio"  VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.horaNegocio}"  HorizontalAlignment="Left" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="100" />
                                <Controls:SinacorTextBox HorizontalAlignment="Left" Margin="93,0,0,0" x:Name="textDataMovimento"  VerticalAlignment="Top" Width="94" IsEnabled="False" Panel.ZIndex="0" IsTabStop="True" Focusable="False" TabIndex="1"/>
                                <Controls:SinacorDatePicker HorizontalAlignment="Left" Margin="93,25,0,0" x:Name="textDataPregao"  VerticalAlignment="Top"     TabIndex="2"  LostFocus="textDataPregao_LostFocus" />
                                <Controls:SinacorComboBox x:Name="comboBolsaMovimento"  VerticalAlignment="Top" HorizontalAlignment="Left" Width="230"   IsEnabled="True" Panel.ZIndex="0" TabIndex="3" IsEditable="False" Margin="315,0,0,0"  RequiredErrorMessage="Bovespa.Ordens.Label.BolsaMovimentoObrigatorio" SelectionChanged="comboBolsaMovimento_SelectionChanged" />
                                <Controls:SinacorTimePicker Width="100" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="315,25,0,0" x:Name="textHoraNegocio" TabIndex="4"/>
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Natureza-->
                        <Controls:SinacorGroupBox x:Name="groupNatureza"  VerticalAlignment="Top" Header="{DynamicResource Bovespa.Ordens.Label.Natureza}" Margin="585,0,0,0" HorizontalAlignment="Left"  Width="118" Height="80">
                            <Grid Width="Auto" VerticalAlignment="Top" Height="Auto" HorizontalAlignment="Left">
                                <Rectangle HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Height="25" Margin="0,25,0,0"/>
                                <Controls:SinacorRadioButton Content="{DynamicResource Bovespa.Ordens.Label.Venda}"    x:Name="radioVenda" Margin="4,25,0,0" VerticalAlignment="Top" Height="15.96" HorizontalAlignment="Left" Width="Auto" TabIndex="6" Padding="2,0,0,0" />
                                <Rectangle  Stroke="{x:Null}" Margin="0,0,0,0" VerticalAlignment="Top" Height="25" Width="75" HorizontalAlignment="Left"/>
                                <Controls:SinacorRadioButton Content="{DynamicResource Bovespa.Ordens.Label.Compra}"    x:Name="radioCompra" Margin="4,0,0,0" VerticalAlignment="Top" Height="15.96" HorizontalAlignment="Left" Width="Auto" TabIndex="5" Padding="2,0,0,0"/>
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Mercado-->
                        <Controls:SinacorGroupBox VerticalAlignment="Top" Margin="0,84,0,0" x:Name="groupMercado" HorizontalAlignment="Left" Header="{DynamicResource Bovespa.Ordens.Label.Mercado}" Width="297" Height="51"  >
                            <Grid>
                                <Controls:SinacorComboBox x:Name="comboMercado" VerticalAlignment="Top"   HorizontalAlignment="Left" Width="283" Panel.ZIndex="0" TabIndex="10" IsEditable="False" RequiredErrorMessage="Bovespa.Ordens.Message.MercadoObrigatorio" SelectionChanged="comboMercado_SelectionChanged" />
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Tipo do Termo-->
                        <Controls:SinacorGroupBox Margin="301,84,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"   x:Name="groupTipoTermo" Header="{DynamicResource Bovespa.Ordens.Label.tipoTermo}" Width="402" Height="51">
                            <Grid HorizontalAlignment="Left" VerticalAlignment="Top">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="*"/>
                                </Grid.ColumnDefinitions>
                                <Controls:SinacorRadioButton x:Name="radioVontadeComprador" Content="{DynamicResource Bovespa.Ordens.Label.vontadeComprador}" Margin="0,0,0,0" Panel.ZIndex="0" TabIndex="11" Padding="2,0,0,0" Width="140" HorizontalAlignment="Left" VerticalAlignment="Top"  />
                                <Controls:SinacorRadioButton x:Name="radioVontadeVendedor" Content="{DynamicResource Bovespa.Ordens.Label.vontadeVendedor}" Margin="144,0,0,0" Panel.ZIndex="0" TabIndex="12" Padding="2,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="140"/>
                                <Controls:SinacorRadioButton x:Name="radioAcordoMutuo" Content="{DynamicResource Bovespa.Ordens.Label.acordoMutuo}" Margin="288,0,0,0" Panel.ZIndex="0" TabIndex="13" Padding="2,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Ativo-->
                        <Controls:SinacorGroupBox HorizontalAlignment="Left" Margin="0,139,0,0" VerticalAlignment="Top"   x:Name="groupPapel" Width="703" Header="{DynamicResource Bovespa.Ordens.Label.Papel}" Height="80" >
                            <Grid>
                                <Controls:SinacorLabel x:Name="labelCodigo" HorizontalAlignment="Left" Margin="0,4,0,0"   VerticalAlignment="Top" Width="80" Content="{DynamicResource Bovespa.Ordens.Label.codigo}"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" IsTargetFieldRequired="True"/>
                                <Controls:SinacorTextBox x:Name="textPapelCodigo" HorizontalAlignment="Left" Margin="84,4,0,0"   VerticalAlignment="Top" Width="119" Height="Auto" Text=""   Panel.ZIndex="0" TabIndex="14" MaxLength="12" RequiredErrorMessage="Bovespa.Ordens.Message.PainelCodigoObrigatorio" LostFocus="textPapelCodigo_LostFocus" />
                                <Controls:SinacorButton Icon="IconButtonSearch" HorizontalAlignment="Left" Margin="207,4,0,0" VerticalAlignment="Top" x:Name="btnPesquisaTitulo" ToolTip="{DynamicResource Bovespa.Ordens.Tooltip.PesquisarAtivo}" TabIndex="15" IsEnabled="{Binding Path=IsEnabled, ElementName=textPapelCodigo, Mode=Default}" Click="btnPesquisaTitulo_Click" />

                                <Controls:SinacorLabel x:Name="labelEspecificacao" HorizontalAlignment="Left" Margin="0,29,0,0"  Width="80" VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.especif}"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" />
                                <Controls:SinacorTextBox x:Name="textPapelEspecificacao" HorizontalAlignment="Left" Margin="84,29,0,0"   VerticalAlignment="Top" Width="119" Height="Auto" Text=""   IsEnabled="False" Panel.ZIndex="0" Focusable="False" IsTabStop="False" MaxLength="10" TabIndex="16"/>

                                <Controls:SinacorLabel x:Name="labelDescricao" HorizontalAlignment="Left" Margin="219,29,0,0" VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.descricao}" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="108"/>
                                <Controls:SinacorTextBox x:Name="textPapelDescricao" HorizontalAlignment="Left" Margin="331,29,0,0" VerticalAlignment="Top" Width="160" Text="" IsEnabled="False" Panel.ZIndex="14" Height="Auto" Focusable="False" IsTabStop="False" MaxLength="25" TabIndex="18"/>

                                <Controls:SinacorLabel x:Name="labelFatorValorizacao" Margin="219,4,0,0"   VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.fatorValorizacao}"  HorizontalAlignment="Left" VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="108"/>
                                <Controls:SinacorDecimalTextBox x:Name="textPapelFatorValorizacao"  TextAlignment="Right" Margin="331,4,0,0" VerticalAlignment="Top" Height="Auto" Text=""   HorizontalAlignment="Left" Width="160" Decimals="5" Panel.ZIndex="0" TabIndex="17" Integers="10"/>

                                <Controls:SinacorLabel x:Name="labelDiasLiquidacao"   Margin="495,4,0,0"   Content="{DynamicResource Bovespa.Ordens.Label.diasLiquidacao}" VerticalAlignment="Top" Width="121"  HorizontalAlignment="Left" VerticalContentAlignment="Center" HorizontalContentAlignment="Right"  />
                                <Controls:SinacorInt32TextBox x:Name="textPapelLiquidacao" Text="" TextAlignment="Right" HorizontalAlignment="Left" Margin="620,4,0,0" VerticalAlignment="Top"    TabIndex="19" Width="30" IsFormated="False" Integers="1" AcceptsNegative="False"/>
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Negócio-->
                        <Controls:SinacorGroupBox HorizontalAlignment="Left" Margin="0,223,0,0" VerticalAlignment="Top"   x:Name="groupNegocio" Width="330" Header="{DynamicResource Bovespa.Ordens.Label.negocio}" Height="101">
                            <Grid>
                                <Controls:SinacorLabel x:Name="labelQuantidade"  IsTargetFieldRequired="True"  HorizontalAlignment="Left"  Content="{DynamicResource Bovespa.Ordens.Label.Quantidade}" VerticalAlignment="Top"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="86" Margin="0,11,0,0"/>
                                <Controls:SinacorDecimalTextBox x:Name="textQuantidade" TextAlignment="Right"  Margin="90,11,0,0"  Height="Auto" Text="" HorizontalAlignment="Left" Width="200" Panel.ZIndex="0" TabIndex="23" MaxLines="1" Integers="11" Decimals="4" VerticalAlignment="Top" RequiredErrorMessage="Bovespa.Ordens.Message.QuantidadeObrigatorio" Keyboard.PreviewKeyDown="textQuantidade_PreviewKeyDown"/>
                                <Controls:SinacorLabel x:Name="labelPreco" HorizontalAlignment="Left"    Margin="0,36,0,0"  Content="{DynamicResource Bovespa.Ordens.Label.Preco}" VerticalAlignment="Top"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="86" IsTargetFieldRequired="True"/>
                                <Controls:SinacorDecimalTextBox x:Name="textPreco" TextAlignment="Right" Margin="90,36,0,0"  Height="Auto" Text=""   VerticalAlignment="Top" HorizontalAlignment="Left" Width="200" Panel.ZIndex="0" TabIndex="24" MaxLines="1" Integers="11" Decimals="8"  RequiredErrorMessage="Bovespa.Ordens.Message.PrecoObrigatorio"/>
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Dados-->
                        <Controls:SinacorGroupBox HorizontalAlignment="Left" Margin="336,223,0,0" VerticalAlignment="Top"   x:Name="groupDados" Width="369" Header="{DynamicResource Bovespa.Ordens.Label.dados}" Height="101" >
                            <Grid>
                                <Controls:SinacorLabel Content="{DynamicResource Bovespa.Ordens.Label.observacao}"    Margin="152,25,0,0"  VerticalAlignment="Top" HorizontalAlignment="Left" x:Name="labelObservacao"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="63.386"/>
                                <Controls:SinacorTextBox Text=""    Margin="220,25,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" x:Name="textObservacao" Width="100" Panel.ZIndex="0" TabIndex="28" MaxLength="11"/>
                                <Controls:SinacorCheckBox    HorizontalAlignment="Left"  VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.pontoGeradoraOferta}" Panel.ZIndex="0" TabIndex="25" x:Name="checkPontoGeradora" Padding="2,0,0,0" Width="160" Margin="0,0,0,0"/>
                                <Controls:SinacorCheckBox    HorizontalAlignment="Left" Margin="0,25,0,0"  VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.naoLiquidadaNota}" Panel.ZIndex="0" TabIndex="26" x:Name="checkLiquidada" Padding="2,0,0,0" Width="140"/>
                                <Controls:SinacorCheckBox    HorizontalAlignment="Left" Margin="0,50,0,0"  VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.afterMarket}" Panel.ZIndex="0" TabIndex="27" x:Name="checkAfter" Padding="2,0,0,0" Width="160"/>
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Correspondente-->
                        <Controls:SinacorGroupBox HorizontalAlignment="Left" Margin="710,223,0,0" VerticalAlignment="Top"   x:Name="groupCorrespondente" Header="{DynamicResource Bovespa.Ordens.Label.correspondente}" Width="258" Height="101">
                            <Grid>
                                <Controls:SinacorLabel x:Name="labelCodigo1"    HorizontalAlignment="Left"  Content="{DynamicResource Bovespa.Ordens.Label.codigo}" VerticalAlignment="Top"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="80" Margin="0,11,0,0"/>
                                <Controls:SinacorLabel x:Name="labelPercentual" HorizontalAlignment="Left"    Margin="0,36,0,0"  Content="{DynamicResource Bovespa.Ordens.Label.percentual}" VerticalAlignment="Top"  VerticalContentAlignment="Center" HorizontalContentAlignment="Right" Width="80" />
                                <Controls:SinacorInt32TextBox TextAlignment="Right" Margin="84,11,0,0" VerticalAlignment="Top" Panel.ZIndex="0" TabIndex="29" x:Name="textCorrespondenteCodigo"  Integers="7" Width="80" HorizontalAlignment="Left" IsFormated="True" AcceptsNegative="False" LostFocus="textCorrespondenteCodigo_LostFocus" />
                                <Controls:SinacorDecimalTextBox Text="" TextAlignment="Right"   HorizontalAlignment="Left" Margin="84,36,0,0"  VerticalAlignment="Top" Width="120" Decimals="8"  Panel.ZIndex="0" TabIndex="30" x:Name="textCorrespondentePercentual" Integers="4" />
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Origem-->
                        <Controls:SinacorGroupBox Margin="0,328,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"   x:Name="groupOrigem" Header="{DynamicResource Bovespa.Ordens.Label.origem}" Width="158" Height="76" >
                            <Grid>
                                <Controls:SinacorRadioButton HorizontalAlignment="Left" x:Name="radioMega"  VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.mega}" Panel.ZIndex="0" TabIndex="31" Margin="0,0,0,0" Padding="2,0,0,0" Width="70"/>
                                <Controls:SinacorRadioButton   HorizontalAlignment="Left" x:Name="radioVivaVoz"  VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.vivaVoz}" Margin="0,25,0,0" Panel.ZIndex="0" TabIndex="32" Padding="2,0,0,0" Width="70"/>
                                <Controls:SinacorRadioButton   HorizontalAlignment="Left" x:Name="radiohome"  Content="{DynamicResource Bovespa.Ordens.Label.home}" Margin="74,0,0,0" Panel.ZIndex="0" TabIndex="33" VerticalAlignment="Top" Padding="2,0,0,0" Width="70"/>
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Tipo de Liquidação-->
                        <Controls:SinacorGroupBox Margin="165,328,0,0" VerticalAlignment="Top" HorizontalAlignment="Left"   x:Name="groupLiquidacao" Header="{DynamicResource Bovespa.Ordens.Label.tipoLiquidacao}" Width="154" Height="76">
                            <Grid>
                                <Controls:SinacorRadioButton  HorizontalAlignment="Left" x:Name="radioLiquidacaoLiquido"  VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.liquidacaoLiquido}" Panel.ZIndex="0" TabIndex="34" Margin="0,0,0,0" Padding="2,0,0,0" Width="140" Checked="radioLiquidacao_Checked"/>
                                <Controls:SinacorRadioButton  HorizontalAlignment="Left" x:Name="radioLiquidacaoBruto"  VerticalAlignment="Top" Content="{DynamicResource Bovespa.Ordens.Label.liquidacaoBruto}" Margin="0,25,0,0" Panel.ZIndex="0" TabIndex="35" Padding="2,0,0,0" Width="140"  Checked="radioLiquidacao_Checked"/>
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Tipo de Estratégia-->
                        <Controls:SinacorGroupBox Margin="325,328,0,0" HorizontalAlignment="Left" VerticalAlignment="Top"   x:Name="groupTipoEstrategia" Header="{DynamicResource Bovespa.Ordens.Label.tipoEstrategia}" Width="282" Height="76" >
                            <Grid>
                                <Controls:SinacorRadioButton    x:Name="radioBox"  Content="{DynamicResource Bovespa.Ordens.Label.box}" Panel.ZIndex="0" TabIndex="36" HorizontalAlignment="Left" Padding="0,0,0,0" Width="75" Margin="0,0,0,0" VerticalAlignment="Top"/>
                                <Controls:SinacorRadioButton    x:Name="radioPOP"  Content="{DynamicResource Bovespa.Ordens.Label.pop}" Panel.ZIndex="0" TabIndex="37" HorizontalAlignment="Left" Padding="0,0,0,0" Width="75" Margin="0,25,0,0" VerticalAlignment="Top"/>
                                <Controls:SinacorRadioButton    x:Name="radioDesmanche"  Content="{DynamicResource Bovespa.Ordens.Label.desmanche}" Panel.ZIndex="0" TabIndex="38" Padding="0,0,0,0" Margin="79,0,0,0" Width="95" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                                <Controls:SinacorRadioButton    x:Name="radioBTF"  Content="{DynamicResource Bovespa.Ordens.Label.TipoEstrategiaBTF}" Panel.ZIndex="0" TabIndex="39" Padding="0,0,0,0" Margin="79,25,0,0" Width="95" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                                <Controls:SinacorRadioButton    x:Name="radioTVR"  Content="{DynamicResource Bovespa.Ordens.Label.TVR}" Panel.ZIndex="0" TabIndex="40" Padding="0,0,0,0" Margin="178,0,0,0" Width="85" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                                <Controls:SinacorRadioButton    x:Name="radioNenhuma"  Content="{DynamicResource Bovespa.Ordens.Label.Nenhuma}" Panel.ZIndex="0" TabIndex="41" Padding="0,0,0,0" Margin="178,25,0,0" Width="85" VerticalAlignment="Top" HorizontalAlignment="Left"/>
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <!--Group Box Tipo Oferta Bovespa Fix-->
                        <Controls:SinacorGroupBox Margin="609,328,0,0" VerticalAlignment="Top" x:Name="groupTipoOfertaBovespa" Width="360" HorizontalAlignment="Left" Header="{DynamicResource Bovespa.Ordens.Label.tipoOfertaBovespaFix}" Height="76">
                            <Grid Height="Auto" HorizontalAlignment="Left" VerticalAlignment="Top">
                                <Controls:SinacorRadioButton    HorizontalAlignment="Left" x:Name="radioAgressorLancador"  Content="{DynamicResource Bovespa.Ordens.Label.agressorLancador}" Margin="0,0,0,0" Panel.ZIndex="0" TabIndex="42" Padding="2,0,0,0" Width="150" VerticalAlignment="Top"/>
                                <Controls:SinacorRadioButton    HorizontalAlignment="Left" x:Name="radioBalcao"  Content="{DynamicResource Bovespa.Ordens.Label.balcao}" Panel.ZIndex="0" TabIndex="44" Padding="2,0,0,0" Margin="172,0,0,0" VerticalAlignment="Top"/>
                                <Controls:SinacorRadioButton    HorizontalAlignment="Left" x:Name="radioDireto"  Content="{DynamicResource Bovespa.Ordens.Label.direto}" Panel.ZIndex="0" TabIndex="43" Padding="2,0,0,0" Margin="0,25,0,0" VerticalAlignment="Top" Width="150"/>
                                <Controls:SinacorRadioButton    HorizontalAlignment="Left" x:Name="radioTomador"  Content="{DynamicResource Bovespa.Ordens.Label.tomador}" Panel.ZIndex="0" TabIndex="45" Padding="2,0,0,0" Margin="172,25,0,0" VerticalAlignment="Top"/>
                            </Grid>
                        </Controls:SinacorGroupBox>

                        <Controls:SinacorButton x:Name="btnBusca" Content="{DynamicResource Bovespa.Ordens.Label.PesquisarNegocio}" Width="120" VerticalAlignment="Top" OnBufferedClick="btnBusca_OnBufferedClick" Margin="850,416,0,0" HorizontalAlignment="Left" TabIndex="46" IsDefault="True"/>
                        <Controls:SinacorNavigator  x:Name="navigatorPadrao" HorizontalAlignment="Center"  VerticalAlignment="Bottom"   Grid.Row="0"    SelectionChanged="navigatorPadrao_SelectionChanged" TabIndex="47">
                            <Controls:SinacorNavigator.ItemTemplate>
                                <DataTemplate>
                                    <Grid Margin="0,2,0,0" Grid.Row="2" Grid.Column="4">

                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition />
                                            <ColumnDefinition />
                                            <ColumnDefinition />
                                            <ColumnDefinition />
                                        </Grid.ColumnDefinitions>

                                        <Grid.RowDefinitions>
                                            <RowDefinition/>
                                            <RowDefinition/>
                                        </Grid.RowDefinitions>

                                        <Controls:SinacorLabel  x:Name="labeltextDataPregao"
                    Content="{Binding Path=DataPregao}"
                    Grid.Row="1" Grid.Column="0"/>
                                        <Controls:SinacorLabel x:Name="labelNatureza"
                   Content="{Binding Path=TipoNaturezaOperacao}"
                   Grid.Row="1" Grid.Column="1"/>
                                        <Controls:SinacorLabel  Grid.Row="1" Grid.Column="2"
                    x:Name="labelNumeroNegocio"
                    HorizontalAlignment="Left"
                    Content="{Binding Path=NumeroNumeroDigito}" />
                                        <Controls:SinacorLabel x:Name="labelPapelCodigo" HorizontalAlignment="Left"
                   Content="{Binding Path=TituloCodigo}"
                   Grid.Row="1" Grid.Column="3" />
                                    </Grid>
                                </DataTemplate>

                            </Controls:SinacorNavigator.ItemTemplate>

                        </Controls:SinacorNavigator>

                    </Grid>

                    <Grid x:Name="gridGrid" Height="250" Width="{Binding Path=ActualWidth, ElementName=ScrollViewer, Mode=Default}" Visibility="Collapsed" DockPanel.Dock="Top" Margin="0,4,0,0">
                        <Controls:SinacorDataGrid  x:Name="dtgDados" TabIndex="47"/>
                    </Grid>
                </DockPanel>

                <!--Navegador-->


            </Grid>

        </Controls:SinacorExpander>

    </Controls:SinacorExpanderContainer>

</Controls:SinacorWindow>
